home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
cbibcode.arc
/
FPUTC.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-08-05
|
310 b
|
10 lines
/* fputc.c, from p. 425 of Turbo C Bible */
#include <stdio.h>
char buffer[81] = "testing fputc on stdout...\n";
main()
{
int i;
/* A for loop that uses fputc to print */
/* to stdout */
for(i = 0; (i < 81) && (fputc(buffer[i], stdout) != EOF); i++);
}